package me.zhengjie.minbearwcs.entity.DTO.wms.inbound;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import me.zhengjie.minbearwcs.entity.DTO.inbound.mes.order.MesInboundOrder;
import me.zhengjie.minbearwcs.entity.DTO.wms.materialType.MinBearMaterialTypeResultDataDTO;
import me.zhengjie.minbearwcs.entity.PO.wcs.stock.MaterialType;

import java.util.List;

@Data
public class MinBearInboundResultDTO {

    @JsonProperty("code")
    private String code;

    @JsonProperty("message")
    private String message;

    @JsonProperty("data")
    private MinBearInboundDataResponseDTO data;

    public MesInboundOrder getMesInboundOrder() {
        return data.getResult();
    }
}
